package com.fallsvc.onlinemusic.mapper;

import com.fallsvc.onlinemusic.model.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @auther falls_vc
 * description:
 * @date 2025/3/31  10:57
 */
@Mapper
public interface UserMapper {
//    @Select("select * from user where username=#{username} and password=#{password}")
//    User login(User user);

    User login(User user);

    User selectUserByName(String username);
}
